package com.lovo.homework7_8GameOfRockPaperScissors;

import util.Util;

public class Computer extends Role{
    private String name ="电脑";
    public Computer(){
        super();
        setName(name);
    }
    @Override
    public void generate() {
        setNumber(Util.random(2,0));
    }

}
